diff options
author | 2024-09-09 14:42:51 -0700 | |
---|---|---|
committer | 2024-09-10 17:32:47 -0300 | |
commit | 02648783c2e1ed24cba23477282fa8cbc1525a77 (patch) | |
tree | a170bff03fa7924379ef5e19c48278bb2f78b642 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | perf annotate: Treat 'call' instruction as stack operation (diff) | |
download | wireguard-linux-02648783c2e1ed24cba23477282fa8cbc1525a77.tar.xz wireguard-linux-02648783c2e1ed24cba23477282fa8cbc1525a77.zip |
perf annotate-data: Add pr_debug_scope()
The pr_debug_scope() is to print more information about the scope DIE
during the instruction tracking so that it can help finding relevant
debug info and the source code like inlined functions more easily.
$ perf --debug type-profile annotate --data-type
...
-----------------------------------------------------------
find data type for 0(reg0, reg12) at set_task_cpu+0xdd
CU for kernel/sched/core.c (die:0x1268dae)
frame base: cfa=1 fbreg=7
scope: [3/3] (die:12b6d28) [inlined] set_task_rq <<<--- (here)
bb: [9f - dd]
var [9f] reg3 type='struct task_struct*' size=0x8 (die:0x126aff0)
var [9f] reg6 type='unsigned int' size=0x4 (die:0x1268e0d)
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240909214251.3033827-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions