aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorJames Clark <[email protected]>2022-03-07 17:19:15 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-03-07 17:51:19 +0000
commit66fd6c9d6972eeeaeed2eed7d2a225f9c4fb09a9 (patch)
treea4b704a72e134d5ed56ba3e9f2d6ef79a2e76e96 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentperf evsel: Add error message for unsupported branch stack cases (diff)
downloadkernel-66fd6c9d6972eeeaeed2eed7d2a225f9c4fb09a9.tar.gz
kernel-66fd6c9d6972eeeaeed2eed7d2a225f9c4fb09a9.zip
perf session: Print branch stack entry type in --dump-raw-trace
This can help with debugging issues. It only prints when -j save_type is used otherwise an empty string is printed. Before the change: 101603801707130 0xa70 [0x630]: PERF_RECORD_SAMPLE(IP, 0x2): 1108/1108: 0xffff9c1df24c period: 10694 addr: 0 ... branch stack: nr:64 ..... 0: 0000ffff9c26029c -> 0000ffff9c26f340 0 cycles P 0 ..... 1: 0000ffff9c2601bc -> 0000ffff9c26f340 0 cycles P 0 After the change: 101603801707130 0xa70 [0x630]: PERF_RECORD_SAMPLE(IP, 0x2): 1108/1108: 0xffff9c1df24c period: 10694 addr: 0 ... branch stack: nr:64 ..... 0: 0000ffff9c26029c -> 0000ffff9c26f340 0 cycles P 0 CALL ..... 1: 0000ffff9c2601bc -> 0000ffff9c26f340 0 cycles P 0 IND_CALL Signed-off-by: James Clark <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Anshuman Khandual <[email protected]> Cc: German Gomez <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Leo Yan <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions