aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorLeo Yan <[email protected]>2020-11-06 17:48:49 +0800
committerArnaldo Carvalho de Melo <[email protected]>2020-11-11 12:24:10 -0300
commit436cce00710a3f234ab6b735b5980256e773d388 (patch)
treea680812354945c5ac1027e481ea104c43818cf08 /tools/perf/scripts/python/flamegraph.py
parent8b8173b45a7a9709cc2597548469708a8efbd0d9 (diff)
perf mem: Only initialize memory event for recording
It's needless to initialize memory events for reporting, this patch moves memory event initialization for only recording. Furthermore, the change allows to parse perf data on cross platforms, e.g. perf tool can report result properly even the machine doesn't support the memory events. Signed-off-by: Leo Yan <[email protected]> Acked-by: Ian Rogers <[email protected]> Acked-by: Jiri Olsa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions