perf flamegraph: flamegraph.py script improvements
authorAndreas Gerstmayr <agerstmayr@redhat.com>
Mon, 30 Aug 2021 16:47:27 +0000 (18:47 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 30 Aug 2021 21:22:23 +0000 (18:22 -0300)
commitc611e4f24c79841f5637e62a8014f42da3dae5ae
tree36a8c1dc4eb4c83d62e9843af30c31ac09c0c1c8
parentbb07d62e039b592f8006c9faedab48cd627e20c4
perf flamegraph: flamegraph.py script improvements

* display perf.data header
* display PIDs of user stacks
* added option to change color scheme
* default to blue/green color scheme to improve accessibility
* correctly identify kernel stacks when kernel-debuginfo is installed

Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20210830164729.116049-1-agerstmayr@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/flamegraph.py