aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-inject.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2024-08-12 22:41:19 +0000
committerArnaldo Carvalho de Melo <[email protected]>2024-08-13 18:28:19 +0000
commit1a9d080d19c3303569614ed4c3b43a39aacd90d7 (patch)
tree55f9f118a64f6c39c10cbd8edeaae7763392316b /tools/perf/builtin-inject.c
parentperf test: Add test for Intel TPEBS counting mode (diff)
downloadkernel-1a9d080d19c3303569614ed4c3b43a39aacd90d7.tar.gz
kernel-1a9d080d19c3303569614ed4c3b43a39aacd90d7.zip
perf callchain: Add a for_each callback style API
Add a for_each callback style API to callchain with sample__for_each_callchain_node(). Possibly in the future such an API can avoid the overhead of constructing the call chain list. Signed-off-by: Ian Rogers <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Casey Chen <[email protected]> Cc: Colin Ian King <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Tom Zanussi <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Split from a larger patch that introduced the API and use it ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-inject.c')
0 files changed, 0 insertions, 0 deletions