]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3c38b3149424b695e01355d27ece523179408ea
tree36a8c1dc4eb4c83d62e9843af30c31ac09c0c1c8
parentc3a50abd7462a8e7f394d0335df9e0e247b92ce0
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