diff options
author | Namhyung Kim <namhyung@kernel.org> | 2025-03-10 15:49:24 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-03-13 00:19:51 -0700 |
commit | 30c5a3941d0f1633a6c4d6529eb3c6ff9b465b4a (patch) | |
tree | 055da63399e13d98a0e3aeaff9fa52e9dcfc8f77 /tools/perf/util/trace-event-scripting.c | |
parent | 236ee2569a5de7ae3bf2bce94a4101f528ce7de8 (diff) | |
download | linux-30c5a3941d0f1633a6c4d6529eb3c6ff9b465b4a.tar.gz linux-30c5a3941d0f1633a6c4d6529eb3c6ff9b465b4a.tar.bz2 linux-30c5a3941d0f1633a6c4d6529eb3c6ff9b465b4a.zip |
perf annotate: Implement code + data type annotation
Sometimes it's useful to see both instructions and their data type
together. Let's extend the annotate code to use data type profiling
functions.
To make it easy to pass more argument, introduce a struct to carry
necessary information together. Also add a new annotation_option called
'code_with_type' to control the behavior. This is not enabled yet but
it'll be set later from the command line.
For simplicity, this is implemented for --stdio only.
Reviewed-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250310224925.799005-7-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions