]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf sched: Include file offset in event skip messages
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 1 Jun 2026 17:21:44 +0000 (14:21 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 3 Jun 2026 19:31:03 +0000 (16:31 -0300)
commitd38bee6d8082c23635faa5473162291d228ca96e
tree7aef7763d4eb3ee5486031d61d18f55705c7efa7
parent43f827251af596072834fd6eb2b562468d1990d5
perf sched: Include file offset in event skip messages

Add the perf.data file offset to the CPU out-of-bounds and
machine__resolve failure messages emitted when samples are skipped in
process_sched_switch_event(), process_sched_runtime_event(), and
timehist_sched_change_event().  Also switch event type from raw integer
to perf_event__name() string for readability.

Reviewed-by: Ian Rogers <irogers@google.com>
Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-sched.c