Skip to content
Snippets Groups Projects

Tweaks for hlt2_pp_2024 throughput tests

Merged Andre Gunther requested to merge gunther-2024-throughput-tests into master
Files
4
@@ -55,17 +55,19 @@ def main(listOfLogs, hltlabel, throughput, produceYAML, ht_file, heaptrack,
# call the perl scripts from https://github.com/brendangregg/FlameGraph
# to create a flamegraph
if no_inline:
run_perf_script = perf_exe + " script --no-inline -i ./perf.data"
else:
run_perf_script = perf_exe + " script -i ./perf.data"
make_flamegraph = "{FLS} --hash --title '{hltlabel} Flame Graph' --minwidth 2 --width 1600 > flamy.svg".format(
FLS=FLAME_GRAPH_SCRIPT, hltlabel=hltlabel)
flamy_cmd = " | ".join(
[run_perf_script, STACK_COLLAPSE_SCRIPT, demangle, make_flamegraph])
logging.info(f"Creating flamegraph: {flamy_cmd!r}")
subprocess.Popen(flamy_cmd, shell=True).wait()
if perf_exe:
if no_inline:
run_perf_script = perf_exe + " script --no-inline -i ./perf.data"
else:
run_perf_script = perf_exe + " script -i ./perf.data"
make_flamegraph = "{FLS} --hash --title '{hltlabel} Flame Graph' --minwidth 2 --width 1600 > flamy.svg".format(
FLS=FLAME_GRAPH_SCRIPT, hltlabel=hltlabel)
flamy_cmd = " | ".join([
run_perf_script, STACK_COLLAPSE_SCRIPT, demangle, make_flamegraph
])
logging.info(f"Creating flamegraph: {flamy_cmd!r}")
subprocess.Popen(flamy_cmd, shell=True).wait()
if ht_file:
heaptrack_print = heaptrack + '_print'
Loading