summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorAaron Tomlin <atomlin@atomlin.com>2026-08-06 11:39:24 -0400
committerNamhyung Kim <namhyung@kernel.org>2026-08-07 10:56:22 -0700
commit44f8dd1ee1d55db399a443e1715cd8cdd3268362 (patch)
tree4571991c220e7424e84896334777df1bd56d2d4b /scripts/Makefile.thinlto
parent4a81d59a9d81e6db4e76f84a3d2638e64ff79533 (diff)
downloadlinux-44f8dd1ee1d55db399a443e1715cd8cdd3268362.tar.gz
linux-44f8dd1ee1d55db399a443e1715cd8cdd3268362.zip
perf sched: Handle missing trace samples in pipe mode
For pipe mode streams, event attributes are received dynamically during event processing, meaning session->evlist is not populated prior to perf_session__process_events(). To handle pipe input correctly: - Register the missing .attr, .tracing_data, .build_id, and .feature callbacks in cmd_sched() - Promote the handlers array to file-scope (latency_handlers[]) and dynamically assign matching tracepoint handlers (or process_sched_ignore) inside perf_sched__process_tracepoint_sample() when evsel->handler is NULL; replace process_sched_wakeup_ignore() with process_sched_ignore() - Perform the trace check post-processing when handling pipe data Fixes: 27295592c22e ("perf session: Share the common trace sample_check routine as perf_session__has_traces") Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: Aaron Tomlin <atomlin@atomlin.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions