diff options
| author | 2026-09-28 11:25:42 -0700 | |
|---|---|---|
| committer | 2026-09-30 14:31:50 -0300 | |
| commit | 64dc5a2eab66abcc40f290050e7fe41e6a926b64 (patch) | |
| tree | fca0631b5af581140212955e1f373b7f8bdc2bc9 /scripts/Makefile.thinlto | |
| parent | perf trace: Include the augmented arg header in nanosleep's payload length (diff) | |
perf trace: Don't read sample padding as an augmented argument
The kernel pads PERF_SAMPLE_RAW data to a u64 boundary without zeroing
the padding, so a syscall record without augmented arguments still has
up to 7 trailing bytes of stale data. syscall__augmented_args() passes
these to the beautifiers as a struct augmented_arg, whose size is then
garbage, causing a crash in syscall_arg__scnprintf_buf().
Ignore trailing data shorter than a struct augmented_arg.
Closes: https://lore.kernel.org/linux-perf-users/arJ-gpzqOHk-gF8T@x2/
Reported-by: Arnaldo Carvalho de Melo <acme@kernel.org>
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Assisted-by: Antigravity:gemini-3.1-pro
Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
