|
@@ -9072,7 +9072,7 @@ perf_event_alloc(struct perf_event_attr *attr, int cpu,
|
|
if (!overflow_handler && parent_event) {
|
|
if (!overflow_handler && parent_event) {
|
|
overflow_handler = parent_event->overflow_handler;
|
|
overflow_handler = parent_event->overflow_handler;
|
|
context = parent_event->overflow_handler_context;
|
|
context = parent_event->overflow_handler_context;
|
|
-#ifdef CONFIG_BPF_SYSCALL
|
|
|
|
|
|
+#if defined(CONFIG_BPF_SYSCALL) && defined(CONFIG_EVENT_TRACING)
|
|
if (overflow_handler == bpf_overflow_handler) {
|
|
if (overflow_handler == bpf_overflow_handler) {
|
|
struct bpf_prog *prog = bpf_prog_inc(parent_event->prog);
|
|
struct bpf_prog *prog = bpf_prog_inc(parent_event->prog);
|
|
|
|
|