aports/main/linux-tools/perf-basename.patch
Natanael Copa c5ad57f9b7 main/linux-tools: move from community
needed by linux-lts build for generating vmlinux.h so BPF programs can
be built without needing the entire kernel source
2025-12-01 13:20:31 +01:00

11 lines
235 B
Diff

--- a/tools/perf/util/probe-event.c
+++ b/tools/perf/util/probe-event.c
@@ -17,6 +17,7 @@
#include <string.h>
#include <stdarg.h>
#include <limits.h>
+#include <libgen.h> /* for basename */
#include <elf.h>
#include "build-id.h"