diff options
| author | Ben Gainey <[email protected]> | 2024-01-23 10:31:37 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-02-03 02:05:40 +0000 |
| commit | acfd65c89403f3f6478d4451d76377dd8b88bf02 (patch) | |
| tree | 68dd6eac1671f3c2c4b78e6c6f1fbc5f83597c7f /tools/perf/builtin-script.c | |
| parent | perf bpf: Clean up the generated/copied vmlinux.h (diff) | |
| download | kernel-acfd65c89403f3f6478d4451d76377dd8b88bf02.tar.gz kernel-acfd65c89403f3f6478d4451d76377dd8b88bf02.zip | |
tools: perf: Expose sample ID / stream ID to python scripts
perf script exposes the evsel_name to python scripts as part of the data
passed to the sample or tracepoint handler function, and it passes the id and
stream_id to the throttled/unthrottled handler functions. This makes matching
throttle events and samples difficult.
To make this possible, this change exposes the sample id and stream_id values
to the script.
Signed-off-by: Ben Gainey <[email protected]>
Reviewed-by: Adrian Hunter <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
