aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-09-28 11:25:52 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-10-01 17:37:55 +0200
commit6a1ef8dac488e565ddeab1f00cadfeb4abcca8e1 (patch)
treeb729ff59f7af11a98c615ac7bd2aba8ce0bf5ccb /scripts/Makefile.thinlto
parentperf trace: Use the CPU map index for the BPF output event's fds (diff)
perf trace: Destroy the BPF skeleton if it fails to load
If augmented_syscalls__prepare() fails to load the skeleton, 'perf trace' falls back to unaugmented tracing but leaves the skeleton in place. augmented_syscalls__set_filter_pids() then writes to maps that were never created and fails with -ENOENT, so a system wide session, or one using --filter-pids, exits with "Not enough memory to run!". Destroy the skeleton on failure and clear the pointer, so the setters do nothing. 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