@@ -400,9 +400,9 @@ def generate_outputs(self, use_case, **kwargs):
400400 "Main THREAD Flame Graph: " + use_case , details
401401 )
402402 if artifact_result is True :
403- outputs ["Main THREAD Flame Graph {}" . format ( identifier )] = (
404- flame_graph_output
405- )
403+ outputs [
404+ "Main THREAD Flame Graph {}" . format ( identifier )
405+ ] = flame_graph_output
406406 result &= artifact_result
407407
408408 tid = self .pid
@@ -440,9 +440,9 @@ def generate_outputs(self, use_case, **kwargs):
440440 )
441441
442442 if artifact_result is True :
443- outputs ["perf report per dso,sym {}" . format ( identifier )] = (
444- perf_report_artifact
445- )
443+ outputs [
444+ "perf report per dso,sym {}" . format ( identifier )
445+ ] = perf_report_artifact
446446 result &= artifact_result
447447
448448 # generate perf report per dso,sym
@@ -460,9 +460,9 @@ def generate_outputs(self, use_case, **kwargs):
460460 )
461461
462462 if artifact_result is True :
463- outputs ["perf report per dso,sym with callgraph {}" . format ( identifier )] = (
464- perf_report_artifact
465- )
463+ outputs [
464+ "perf report per dso,sym with callgraph {}" . format ( identifier )
465+ ] = perf_report_artifact
466466 result &= artifact_result
467467
468468 # generate perf report per dso,sym,srcline
@@ -487,9 +487,9 @@ def generate_outputs(self, use_case, **kwargs):
487487 )
488488
489489 if artifact_result is True :
490- outputs ["perf report per dso,sym,srcline {}" . format ( identifier )] = (
491- perf_report_artifact
492- )
490+ outputs [
491+ "perf report per dso,sym,srcline {}" . format ( identifier )
492+ ] = perf_report_artifact
493493 result &= artifact_result
494494
495495 self .logger .info (
@@ -527,9 +527,9 @@ def generate_outputs(self, use_case, **kwargs):
527527 )
528528
529529 if artifact_result is True :
530- outputs ["perf report top self-cpu {}" . format ( identifier )] = (
531- perf_report_artifact
532- )
530+ outputs [
531+ "perf report top self-cpu {}" . format ( identifier )
532+ ] = perf_report_artifact
533533 result &= artifact_result
534534
535535 # generate perf report --stdio report
@@ -546,9 +546,9 @@ def generate_outputs(self, use_case, **kwargs):
546546 )
547547
548548 if artifact_result is True :
549- outputs ["perf report top self-cpu (dso={})" . format ( binary )] = (
550- perf_report_artifact
551- )
549+ outputs [
550+ "perf report top self-cpu (dso={})" . format ( binary )
551+ ] = perf_report_artifact
552552 result &= artifact_result
553553
554554 if self .callgraph_mode == "dwarf" :
@@ -590,9 +590,9 @@ def generate_outputs(self, use_case, **kwargs):
590590 )
591591 result &= artifact_result
592592 if artifact_result is True :
593- outputs ["Top entries in text form by LOC" ] = (
594- pprof_artifact_text_output
595- )
593+ outputs [
594+ "Top entries in text form by LOC"
595+ ] = pprof_artifact_text_output
596596 tabular_data_map ["text-lines" ] = tabular_data
597597 self .logger .info ("Generating pprof png output" )
598598 pprof_png_output = self .output + ".pprof.png"
@@ -604,9 +604,9 @@ def generate_outputs(self, use_case, **kwargs):
604604 self .output ,
605605 )
606606 if artifact_result is True :
607- outputs ["Output graph image in PNG format" ] = (
608- pprof_artifact_png_output
609- )
607+ outputs [
608+ "Output graph image in PNG format"
609+ ] = pprof_artifact_png_output
610610 result &= artifact_result
611611
612612 # save stack collapsed
0 commit comments