aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2026-09-28 11:25:56 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-10-01 17:44:50 +0200
commit8ac7d7555c2ad5c65d51d6ffacb9eccab29c03fa (patch)
tree6c2675a139dc6f613883885eee0a813dd8ca152c /scripts/Makefile.thinlto
parentperf trace: Open the BPF output event on every CPU for task targets (diff)
perf trace: Do not return 0 from syscall tracepoint BPF
Howard reported that returning 0 from the BPF resulted in affecting global syscall tracepoint handling. What we want to do is just to drop syscall output in the current perf session. So we need a different approach. Currently perf trace uses bpf-output event for augmented arguments and raw_syscalls:sys_{enter,exit} tracepoint events for normal arguments. But I think we can just use bpf-output in both cases and drop the trace point events. Then it needs to distinguish bpf-output data if it's for enter or exit. Repurpose struct trace_entry.type which is common in both syscall entry and exit tracepoints. [ irogers: Use the local syscall_{enter,exit}_args, always return 1 from augmented__output(), output the unaugmented args when the perf_event_open augmenter fails, dispatch from a trace__bpf_output() handler, add a per-task tracking event and keep excluding kernel callchains. ] Closes: https://lore.kernel.org/r/20250529065537.529937-1-howardchu95@gmail.com Suggested-by: Howard Chu <howardchu95@gmail.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20250814071754.193265-4-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